<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!doctype html>
<html>
<head>
<base href="<%=basePath%>">

<title>资源管理</title>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">

<jsp:include page="/WEB-INF/views/common.jsp"></jsp:include>
<script type="text/javascript"
	src="<%=path%>/resources/script/resourceManage/resource_list.js"></script>

</head>

<body class="easyui-layout" fit="true">
	<div data-options="region:'west',split:true" title="课程资源"
		style="width: 200px;">
		<ul id="subject_tree" class="easyui-tree"></ul>
	</div>
	<div data-options="region:'center'">
		<!-- DataGrid -->
		<table id="dg"></table>
		<!-- <table id="dg" class="easyui-datagrid" title="资源信息列表"
			style="width: auto; height: auto;"
			data-options="url:'lessonplan/queryList',
			    			fit:true,
			    			singleSelect:true,
			    			rownumbers:true,
			    			toolbar:'#tb',
			    			pagination:true">
			<thead>
				<tr>
					<th data-options="field:'id',hidden:true">教案ID</th>
					<th data-options="field:'title', width:150">标题</th>
					<th data-options="field:'name', width:200">学科名称</th>
					<th data-options="field:'people', width:200">创建人</th>
					<th data-options="field:'remark', width:200">备注</th>
					<th data-options="field:'createTime', width:150">创建时间</th>
				</tr>
			</thead>
		</table> -->
		<!-- toolbar -->
		<div id="tb" style="padding: 5px; height: auto;">
			<!-- search -->
			<div style="border-bottom: 1px solid #95B8E7;">
				<table>
					<tr>
						<td>标题： <input class="easyui-validatebox" id='title'
							name="title" style="width: 100px;" />
						</td>
						<td></td>

						<!-- <td>计划完成时间：
									<input type="text" id="startTime" name="startTime"
									onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" style="width : 120px !important"
									class="Wdate easyui-validatebox" />
									--
									<input type="text" id="endTime" name="endTime"
									onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" style="width : 120px !important"
									class="Wdate easyui-validatebox" />
								</td>
								<td></td>	 -->
						<td><a href="javascript:void(0);" class="easyui-linkbutton"
							iconCls="icon-search" onclick="doSearch();">查询</a></td>
						<td><a href="javascript:void(0);" class="easyui-linkbutton"
							iconCls="icon-reload" onclick="reSearch();">重置</a></td>
					</tr>
				</table>
			</div>
			<!-- opreate -->
			<div style="margin-bottom: 5px; text-align: right;">
				<%@include file="/WEB-INF/views/common/operate.jsp"%>
			</div>
		</div>

	</div>
	<!-- add/edit window -->
	<div id="win" class="easyui-window"
		data-options="modal:true,
    	 				closed:true,
    	 				maximizable:true,
    	 				minimizable:false,
    	 				collapsible:false,
    	 				iconCls:'icon-save',
    	 				draggable:false">
		<iframe id="contentFrame" src="" width=100% height=99% marginwidth=0
			framespacing=0 marginheight=0 frameborder=no scrolling=no></iframe>
	</div>
</body>
</html>
